<template>
	<list-box :name="name" :word="word">
		
		<course-item v-for="(item, i) in courseData" :key="i" :item="item"></course-item>
	</list-box>
</template>

<script>
	import listBox from './list-box.vue'
	import courseItem from '@/components/common/course-item.vue'
	import mockCourseData from "@/mock/courseData.js"
	export default {
		components: {
			listBox,
			courseItem
		},
		props: {
			name: {
				type: String,
				default: "付费精品"
			},
			word: {
				type: String,
				default: ""
			},
			courseData:{
				type:Array,
				default:()=>mockCourseData
			}
		}

	}
</script>

<style>
</style>

